/**
 * Project: topdt-jbpm
 * Copyright 2013  Top Digital Technology  Co. Ltd.
 * All right reserved.
 */
package com.topdt.jbpm.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.topdt.jbpm.form.Document;

/**
 * 建立日期 : 2013-4-12 下午3:59:36<br>
 * 作者 : balance<br>
 * 模块 : <br>
 * 描述 : <br>
 * 修改历史: 序号 日期 修改人 修改原因 <br>
 * 1 <br>
 * 2 <br>
 */
@Entity
@Table(name = "wf_form_instance")
public class FormInstance extends JbpmModel implements Document {

	
	private static final long serialVersionUID = 7032967764345096675L;

	@Id
	private String workId;
	
	@Lob
	private byte[] formData;//
	
	private Timestamp updateTime;

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public byte[] getFormData() {
		return formData;
	}

	public void setFormData(byte[] formData) {
		this.formData = formData;
	}

	public String getDocId() {
		return this.workId;
	}

	public void setDocId(String docId) {
		this.workId=docId;
	}

	
	
}
